package com.huikeportal.dao;

import java.util.List;
import java.util.Map;
import com.huikeportal.model.AspnetUsersInRoles;
import com.huikeportal.model.DataTypeIndex;
import com.huikeportal.model.PrivilegeUsersBDDetail;
import com.huikeportal.model.SiteAllInfo;
import com.huikeportal.model.UserManagerInfo;
import com.huikeportal.model.WordBook;
import com.huikeportal.model.common.PageDataVo;
import com.huikeportal.model.common.SqlParameter;

public interface UserManagerMapper {

	List<UserManagerInfo> queryUserList(PageDataVo pageDataVo) throws Exception;

	int queryUserTotal(PageDataVo pageDataVo) throws Exception;

	SiteAllInfo querySiteName(Map<String, Object> map) throws Exception;

	List<SiteAllInfo> querySiteInfoByUser(String string) throws Exception;

	PrivilegeUsersBDDetail querySiteDetailByUser(String string)
			throws Exception;

	List<WordBook> queryDataPermission(SqlParameter sql) throws Exception;

	List<SiteAllInfo> getSiteById(Integer type) throws Exception;

	UserManagerInfo getCustomById(String userId) throws Exception;

	void deleteUserSite(String userId) throws Exception;

	void deleteUserRole(String userId) throws Exception;

	void updateUserRole(AspnetUsersInRoles aspnetUsersInRoles) throws Exception;

	void deleteUserReport(String userId) throws Exception;

	void deleteUserData(String userId) throws Exception;

	List<String> getReportPerById(String userId) throws Exception;

	List<String> getDataPerById(String userId) throws Exception;

	List<SiteAllInfo> getSiteDataByKey(List<String> stringList)
			throws Exception;

	List<SiteAllInfo> selectParentId(String string) throws Exception;

	List<SiteAllInfo> selectParent100(SqlParameter sqlParameter)
			throws Exception;

	List<SiteAllInfo> selectParent200(SqlParameter sqlParameter)
			throws Exception;

	Integer selectUserExists(String userName) throws Exception;

	Integer selectAccountNum(String customId) throws Exception;

	List<SiteAllInfo> getSiteByString(String string) throws Exception;

	List<SiteAllInfo> getGcListByJt(String string) throws Exception;

	List<SiteAllInfo> getGcListByDy(String string) throws Exception;

	List<SiteAllInfo> getGcListByUserName(String string) throws Exception;

	List<DataTypeIndex> selectUserDateType(String string) throws Exception;

}
